package cn.enn.smart.service.impl;

import cn.enn.smart.exception.ValidateCodeException;
import cn.enn.smart.service.ValidateCodeService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class DefaultValidateCodeServiceImpl implements ValidateCodeService {

	private Logger logger = LoggerFactory.getLogger(DefaultValidateCodeServiceImpl.class);

	@Override
	public String loadValidateByUniqueKey(String uniqueKey) throws ValidateCodeException {
		logger.info("使用默认的有验证码校验器，验证码为[123456]");
		return "123456";
	}
}
